/**
 * 
 */
package os.filesystem.utils;

/**
 * String utilities for the filesystem.
 * 
 * @author Raghav Sidhanti
 * @since Mar 7, 2012 12:54:52 PM
 *
 */
public final class FSString {
	
	public static final String FILE_HIERARCHY_SEPERATOR = FSProperties.getProperty(FSProperties.FILE_HIERARCHY_SEPERATOR);
	
	public static String fhsStringBuilder(String ... strs){
		StringBuilder sb = new StringBuilder();
		int len = strs.length;
		for(String str : strs){
			sb.append(str);
			len --;
			if(len == 0){
				break;
			}
			sb.append(FILE_HIERARCHY_SEPERATOR);
		}
		return sb.toString();
	}

}
